package com.tangyuan.feignapis.headlines;

import com.tangyuan.dto.UpdateHeadlinesDto;
import com.tangyuan.dto.UpdateVideoCommentDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name ="service-headlines",contextId = "feignApi-headlinesComment")
public interface IHeadlinesCommentFeignClient {

    @PostMapping("/feignApi/headlinesComment/updateHeadlinesCommentName")
    void updateHeadlinesCommentName(@RequestBody UpdateHeadlinesDto updateHeadlinesDto);

    @PostMapping("/feignApi/headlinesComment/updateHeadlinesCommentAvatar")
    void updateHeadlinesCommentAvatar(@RequestBody UpdateHeadlinesDto updateHeadlinesDto);
}
